package com.fg.pro.trade.entity;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * 仓库(TradeWarehouse)表实体类
 *
 * @author makejava
 * @since 2025-08-15 10:06:11
 */
@SuppressWarnings("serial")
@Data
public class TradeWarehouse extends Model<TradeWarehouse> {
//主键
    private Long id;

    private Date createTime;

    private Date updateTime;
//仓库所属企业ID
    private Long warehouseGroupId;
//仓库Code
    private String warehouseCustomizedCode;
//仓库名
    private String warehouseName;
//地址 详细地址
    private String warehouseAddress;
//GPS 纬度，格式为 Decimal 数字。举例："12.3456"
    private Double warehouseGeoLatitude;
//GPS 经度，格式为 Decimal 数字。举例："–98.7654"
    private Double warehouseGeoLongitude;
//联系人
    private String warehouseContactName;
//联系人电话
    private String warehouseContactPhone;
//是否启用 true/false 默认false-不启用
    private Integer warehouseContactValid;
//是否是默认仓 一个站点下默认仓只有一个, 且可以变更默认仓 true/false 默认false
    private Integer warehouseDefault;



    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    public Serializable pkVal() {
        return this.id;
    }
}

